package logic

import (
	"context"

	"camera/C/Rpc/camera"
	"camera/C/Rpc/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type GoodRankLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewGoodRankLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GoodRankLogic {
	return &GoodRankLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

// 商品类别排行榜
func (l *GoodRankLogic) GoodRank(in *camera.GoodRankRequest) (*camera.GoodRankResponse, error) {
	// todo: add your logic here and delete this line

	return &camera.GoodRankResponse{}, nil
}
